package com.nanjia.boot.product.spec.value.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.nanjia.boot.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 规格值实体对象
 *
 * @author 周洋
 * @since 2025-07-09 17:16
 */
@Getter
@Setter
@TableName("spec_value")
public class SpecValue extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 所属规格组ID
     */
    private Long specGroupId;
    /**
     * 规格值名称(如:红色/S码)
     */
    private String valueName;
    /**
     * 预览图URL(用于规格选择器)
     */
    private String previewImage;
    /**
     * 排序值
     */
    private Integer sortOrder;

    /**
     * 状态
     */
    private Integer status;
}
